use qdatetime for dg100 format (#556)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Wed, 13 May 2020 15:01:50 +0000 (09:01 -0600)
committerGitHub <noreply@github.com>
Wed, 13 May 2020 15:01:50 +0000 (09:01 -0600)
commitddeae06bf8daded762ac88f65b94d89c04b1131b
tree34729035c03faa20794c9538594ea63e0695b23e
parent020cfa5432aa1064f4d0e2eb46573da54f15fd7e
use qdatetime for dg100 format (#556)

* use QDateTime for dg-100 format.

* fix undefined behavior bug in dg100.

When sending the getconfig command memcpy would be invoked with
src == nullptr.  The behavior of memcpy is undefined under these conditions,
even if the count is zero as it is in this case.
dg-100.cc